package com.example.demospringsecurity;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;

import java.util.Arrays;

@SpringBootApplication
@MapperScan("com.example.demospringsecurity.mapper")
@EnableWebSecurity(debug = true)
public class DemoSpringsecurityApplication {

	public static void main(String[] args) {
		SpringApplication.run(DemoSpringsecurityApplication.class, args);
	}

}
